30 days of code challenge in python